package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.entity.Role;

import java.util.List;

/**
 * @author 16778
 * @date 2025/10/7 14:11
 * @description
 */
public interface RoleService {
    PageResult<Role> page(String name, String label, Integer page, Integer pageSize);

    void insert(Role role);

    void delete(Integer id);

    Role selectById(Integer id);

    void update(Role role);

    List<Role> findAll();
}
